package thread;

public class DistriptorHandler
{
	private ITask task;


	public void execute()
	{
		try {
			this.task.execute();
		} catch (Throwable e) {
			e.printStackTrace();
//			Loggers.EXPECTION_LOGGER.error("error",e);
		}
	}
	
	
	public void setTask(ITask task) {
		this.task = task;
	}
	
}
